package com.anyou.mall.goo.goods.mapper;

import java.util.List;

import com.anyou.mall.goo.goods.domain.GooGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * goodsMapper接口
 * 
 * @author xiaQ
 * @date 2023-09-15
 */
public interface LiGoodsMapper extends BaseMapper<GooGoods>
{

    /**
     * 新增goods
     * 
     * @param liGoods goods
     * @return 结果
     */
    public int insertLiGoods(GooGoods liGoods);

    /**
     * 修改goods
     * 
     * @param liGoods goods
     * @return 结果
     */
    public int updateLiGoods(GooGoods liGoods);

    /**
     * 删除goods
     * 
     * @param id goods主键
     * @return 结果
     */
    public int deleteLiGoodsById(Long id);

    /**
     * 批量删除goods
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLiGoodsByIds(Long[] ids);
}
